package com.cq.system.common;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@RefreshScope
/**
 * nacos配置文件
 */
public class NacosConstantConfiguration {
    @Value("${pattern.dataFormat}")
    String dataFormat;

    @Value("${pattern.name}")
    String name;
}